package TUILag;
import java.util.Scanner;
/**
 * 
 * 
 * @author (Lackshan, Mikkel, Nick, patrick, Simon, Yousef) 
 * @project (Tema design)
 * @version (2014.11.04)
 */
public class InputReader
{
    private static InputReader instance; 
    private Scanner sc = new Scanner(System.in);

    /**
     * Constructor for objects of class InputReader
     */
    private InputReader(){

    }
    
    public static InputReader getInstance(){
        if(instance != null){
            return instance;
        }
        return new InputReader();
    }

    public String getInput(){
        String input = sc.nextLine();
        return input;
    }
    
    public String getInputWithLabel(String label){
        System.out.println(label+":");
        String input = getInput();
        return input;
    }

}
